package com.xing.serviceedu.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 查询参数，入参封装
 *
 * @author: xingfuhao
 * @create: 2022-01-11 20:53
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TeacherQuery {

    @ApiModelProperty(value = "教师名称，模糊查询")
    private String name;

    @ApiModelProperty(value = "头衔 1高级讲师 2首席讲师")
    private Integer level;

    @ApiModelProperty(value = "查询开始时间",example ="2021-01-01 10:10:19" )
    private String begin;  //注意这里使用的是String类型的，前端传过来的数据无需进行类型转换

    @ApiModelProperty(value = "查询结束时间",example = "2021-01-01 10:10:19")
    private String end;


}
